//
//  ICMBalanceInfoSKDView.h
//  ICrEAM
//
//  Created by kuroro on 16/11/25.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICMTitleTextFeildView.h"
#import "ICMTitleTextView.h"
#import "ICMTitleSubTitleView.h"
#import "ICMBalanceBasicInfoModel.h"

@protocol ICMBalanceInfoSKDViewDelegate <NSObject>

@optional

- (void)clickMemberBtnWithCardNO:(NSString *)cardNO;
- (void)clickSKDVerificationBtn;

@end

@interface ICMBalanceInfoSKDView : UIView
+ (instancetype)createICMBalanceInfoSKDViewWithFrame:(CGRect)frame;
@property (nonatomic,strong) ICMTitleTextFeildView *cardNoView;        //会员卡号
@property (nonatomic,strong) ICMTitleTextFeildView *SKDAmountView;     //总部积分金额
@property (nonatomic,strong) ICMTitleTextFeildView *SSTAmountView;     //经销商积分金额
@property (nonatomic,strong) ICMTitleTextFeildView *SKDDeductionView;  //总部积分抵扣金额
@property (nonatomic,strong) ICMTitleTextFeildView *SSTDeductionView;  //经销商积分抵扣金额
@property (nonatomic,strong) ICMTitleTextFeildView *verificationView;  //验证码
@property (nonatomic,strong) ICMTitleSubTitleView *nameView;           //付费方名称
@property (nonatomic,strong) ICMTitleSubTitleView *labourAccounts;     //应收工时费
@property (nonatomic,strong) ICMTitleSubTitleView *partAccounts;       //应收材料费
@property (nonatomic,strong) ICMTitleSubTitleView *amountAccounts;     //应收总金额
@property (nonatomic,strong) ICMTitleSubTitleView *labourRealPrice;    //实收工时费
@property (nonatomic,strong) ICMTitleSubTitleView *partRealPrice;      //实收材料费
@property (nonatomic,strong) ICMTitleSubTitleView *amountRealPrice;    //实收总金额
@property (nonatomic,strong) ICMTitleSubTitleView *labourDeduction;    //工时卷抵扣金额
@property (nonatomic,strong) ICMTitleSubTitleView *partDeduction;      //材料卷抵扣金额
@property (nonatomic,strong) ICMTitleSubTitleView *amountDeduction;    //去零金额
@property (nonatomic,strong) ICMTitleSubTitleView *accounts;           //应收账款
@property (nonatomic,strong) ICMTitleSubTitleView *tax;                //税款
@property (nonatomic,strong) ICMTitleSubTitleView *endAmount;          //最终金额
@property (nonatomic,strong) NSString *RMBAmount;                      //圆整金额
@property (nonatomic, weak) id<ICMBalanceInfoSKDViewDelegate>delegate;
@property (nonatomic,strong) UIButton *verificationBtn;
@property (nonatomic, strong) ICMBalanceBasicInfoModel *model;

//界面值是否改变
@property (nonatomic, assign) BOOL hasViewValueChanged;

- (void)setBalanceInfoViewWithModel:(ICMBalanceBasicInfoModel *)model;
- (void)startTimer;
@end
